<span class="hidereveal_expander"><%= scope[:message] %></span>
<% if scope[:jobs].size()>0 %>
    <ul class="hidereveal_content">
        <% scope[:jobs].each do |job_in_job_breakdown| %>
            <li class="job">
                <a class="" href="<%= url_for_job(job_in_job_breakdown) %>">
                    <div class="color_code_small <%= job_in_job_breakdown.getStatus() -%>">
                    </div>
                    <span class="wrapped_word"> <%= job_in_job_breakdown.getName() %> </span>
                </a>
                <% unless job_in_job_breakdown.isCompleted() %>
                    <%= render :partial => "elapsed_time", :locals=> {:scope => {:job => job_in_job_breakdown }} %>
                <% end %>
            </li>
        <% end %>
    </ul>
    <script type='text/javascript'>
        $(function() {
            AjaxRefreshers.main().afterRefreshOf('<%= scope[:parent_id] %>', (function() {
                make_collapsable('<%= scope[:parent_id] %>');
            }));
        });
    </script>
<% end %>
